home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / tcltk.z / tcltk / man / cat3 / MainWin.3 < prev    next >
Text File  |  1994-09-20  |  993b  |  67 lines

  1.  
  2.  
  3.  
  4. Tk_MainWindow(3)      Tk Library Procedures                   7.0
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NAME
  11.      Tk_MainWindow - find the main window for an application
  12.  
  13. SYNOPSIS
  14.      #include <tk.h>
  15.  
  16.      Tk_Window
  17.      Tk_MainWindow(_i_n_t_e_r_p)
  18.  
  19. ARGUMENTS
  20.      Tcl_Interp   *_i_n_t_e_r_p     (in/out)  Interpreter    associated
  21.                                         with the application.
  22. _________________________________________________________________
  23.  
  24.  
  25. DESCRIPTION
  26.      If  _i_n_t_e_r_p  is  associated  with  a  Tk   application   then
  27.      Tk_MainWindow  returns  the  application's  main window.  If
  28.      there is no  Tk  application  associated  with  _i_n_t_e_r_p  then
  29.      Tk_MainWindow  returns  NULL  and leaves an error message in
  30.      _i_n_t_e_r_p->_r_e_s_u_l_t.
  31.  
  32.  
  33. KEYWORDS
  34.      application, main window
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Tk                                                              1
  64.  
  65.  
  66.  
  67.